package com.lianniu.web.baseService.help.service.impl;

import com.lianniu.web.base.BaseResult;
import com.lianniu.web.baseService.help.dao.HelpCenterInfoDao;
import com.lianniu.web.baseService.help.service.HelpCentInfoService;
import com.lianniu.web.baseService.help.vo.HelpCenterInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017-05-21.
 */
@Service
public class HelpCenterInfoServiceImpl implements HelpCentInfoService {
    @Autowired
    HelpCenterInfoDao helpCenterInfoDao;
    @Override
    public BaseResult selectByPrimaryKey(Long id) {
        HelpCenterInfo helpCenterInfo = this.helpCenterInfoDao.selectByPrimaryKey(id);
        return BaseResult.success(helpCenterInfo);
    }
}
